<template>
  <a-tabs v-bind="item.conf">
    <a-tab-pane :tab="subItem.name" v-for="(subItem, index) in item.subItems" :key="index">
      <a-col v-for="child in subItem.children" :key="child.key" :span="child.span">
        <form-parser :item="child" :data="data"></form-parser>
      </a-col>
    </a-tab-pane>
  </a-tabs>
</template>

<script>
  export default {
    components: {},
    props: {
      item: {},
      data: {},
    },
  };
</script>

<style scoped></style>
